﻿CREATE TABLE [Core].[Plugin] (
    [PluginId]          UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [Name]              NVARCHAR (127)   NOT NULL,
    [Version]           NVARCHAR (127)   NOT NULL,
    [DBVersionRequired] NVARCHAR (127)   NOT NULL,
    [Area]              NVARCHAR (127)   NULL,
    [Controller]        NVARCHAR (127)   NULL,
    [Action]            NVARCHAR (127)   NULL,
    [UserPermission]    NVARCHAR (127)   NULL,
    [AdminController]   NVARCHAR (127)   NULL,
    [AdminAction]       NVARCHAR (127)   NULL,
    [AdminPermission]   NVARCHAR (127)   NULL,
    [IsDroppedYN]       NCHAR (1)        NOT NULL
);

